/**
 * Created by GYL on 2018/7/25
 */
import React, { Component } from 'react';
import { Tabs } from 'antd';
import DataPan from './tab/DataPan';
import DataSta from './tab/DataSta';
import style from './DataAnals.less';
const TabPane = Tabs.TabPane;
class DataAnals extends Component {

    render() {

        return (
            <div className={style.wrap}>
                <Tabs defaultActiveKey="1" size="small">
                    <TabPane tab="总览视图" key="1">
                        <DataPan
                            history={this.props.history}
                        />
                      
                    </TabPane>
                    <TabPane tab="统计视图" key="2">
                        <DataSta
                            history={this.props.history}
                        />
                       
                    </TabPane>
                   
                </Tabs>
            </div>
        )
    }
}
export default (DataAnals);
